% This file runs assigns the parameters values for Figure 3b, runs the
% dynare code, and saves the irfs in \Replication_files\mat_files.

clear all
cd ../m_files


set_parameters(2.48,0,1.51,-.52,0.8,15,0,0.25,8)
cd ../mod_files
dynare a15_markups_cbase.mod

cd ../mat_files
save('fig8b_irfs_w_inertia_rev.mat','y_u','c_u','g_u','dy_u','q_u','mu_u')
cd ../mod_files

cd ../m_files
set_parameters(0,0,0.98,0,0.8,15,0,1,8)
dynare a15_markups_cbase.mod

cd ../mat_files
save('fig8b_irfs_wo_inertia_rev.mat','y_u','c_u','g_u','dy_u','q_u','mu_u')
cd ../m_files
